﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Smallerp.Contracts.DataContracts
{
    [DataContract]
    public class PrinterDCT
    {
        #region 私有字段
        private int _printerID;
        private string _pName;
        private int _pDPI;
        private double _pWidth;
        private double _pLength;
        private string _pDes;
        private int _printStatus;
        private int _pBstatus;
        private string _hotDirPath;
        private bool _isTransverse;
        private string _monitorDirPath;
        private string _calibrationData;
        private bool _IsMiddle;
        #endregion

        #region 公开属性
        [DataMember]
        public int PrinterID
        {
            get { return _printerID; }
            set { _printerID = value; }
        }
        [DataMember]
        public string PName
        {
            get { return _pName; }
            set { _pName = value; }
        }
        [DataMember]
        public int PDPI
        {
            get { return _pDPI; }
            set { _pDPI = value; }
        }
        [DataMember]
        public double PWidth
        {
            get { return _pWidth; }
            set { _pWidth = value; }
        }
        [DataMember]
        public double PLength
        {
            get { return _pLength; }
            set { _pLength = value; }
        }
        [DataMember]
        public string PDes
        {
            get { return _pDes; }
            set { _pDes = value; }
        }
        [DataMember]
        public int PrintStatus
        {
            get { return _printStatus; }
            set { _printStatus = value; }
        }
        [DataMember]
        public int PBstatus
        {
            get { return _pBstatus; }
            set { _pBstatus = value; }
        }
        [DataMember]
        public string HotDirPath
        {
            get { return _hotDirPath; }
            set { _hotDirPath = value; }
        }
        [DataMember]
        public bool IsTransverse
        {
            get { return _isTransverse; }
            set { _isTransverse = value; }
        }
        [DataMember]
        public string MonitorDirPath
        {
            get { return _monitorDirPath; }
            set { _monitorDirPath = value; }
        }
        [DataMember]
        public string CalibrationData
        {
            get { return _calibrationData; }
            set { _calibrationData = value; }
        }
        [DataMember]
        public bool IsMiddle
        {
            get { return _IsMiddle; }
            set { _IsMiddle = value; }
        }

        //0是RGB1CMyk
        [DataMember]
        public int PrinterType
        {
            set;
            get;
        }
        #endregion
    }
}
